<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body class="layui-layout-body">
<!--新增弹窗-->
<div class="site-text" style="margin: 5%;" id="window" target="test123">
    <form class="layui-form" id="book" method="post" lay-filter="example">
        <div class="layui-form-item">
            <label class="layui-form-label">类别名称</label>
            <div class="layui-input-block">
                <input type="text" id="s_name" name="s_name" lay-verify="title" autocomplete="off" placeholder="类别名称"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">类别备注</label>
            <div class="layui-input-block">
                <input type="text" id="s_remark" name="s_remark" lay-verify="title" autocomplete="off"
                       placeholder="类别备注" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">产品是否销毁</label>
            <div class="layui-input-block">
                <input type="text" id="s_is" name="s_is" lay-verify="title" autocomplete="off" placeholder="产品是否销毁"
                       class="layui-input">
            </div>
        </div>
    </form>
</div>
</body>
<script src="../../layui/layui.js"></script>
<script>
    function getValue() {
        var s_name = document.getElementById("s_name").value;
        var s_remark = document.getElementById("s_remark").value;
        var s_is = document.getElementById("s_is").value;
        var data = {"s_name": s_name, "s_remark": s_remark, "s_is": s_is}
        return data
    }

</script>
</html>